package java01;

public class Three_Mul_Game {

	public static void main(String[] args) {
		for (int i = 1; i < 29; i++) {
			int j = i % 10;
			if (j % 3 == 0 & i % 10 != 0) {
				System.out.print("¦ ");
			} else {
				System.out.print(i + " ");
			}
		}

	}
}
